package com.sky.mapper;

import com.sky.entity.OrderDetail;

import java.util.List;

public interface OrderDetailMapper {
    /**
     * 插入订单详情
     * @param orderDetails
     */
    void insertBatch(List<OrderDetail> orderDetails);

    /**
     * 查询订单详情
     * @param orderId
     * @return
     */
    List<OrderDetail> queryOrderDetailById(Long orderId);
}
